package com.meta.act.app.tenant.req.Io;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.meta.framework.copy.Copyable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: htp-demo
 * @description:
 * @author: Simon.Zhang
 * @create: 2020-11-05 11:15
 **/
@Data
public class TenantIo extends Copyable {
    private static final long serialVersionUID = 1L;

    /**
     *租户编码
     */
    @ApiModelProperty(value = "租户编码")
    private Long tenantId;

    /**
     *租户简称
     */
    @ApiModelProperty(value = "租户简称")
    private String name;

    /**
     *租户名称
     */
    @ApiModelProperty(value = "租户名称")
    private String fullName;

    @ApiModelProperty(value = "联系电话")
    private String linkTel;

    @ApiModelProperty(value = "联系人昵称")
    private String linkNickName;

    /**
     *租户类型 1:企业 2:个人
     */
    @ApiModelProperty(value = "租户类型 1:企业 2:个人")
    private Integer tenantType;

    /**
     *社会信用代码
     */
    @ApiModelProperty(value = "社会信用代码")
    private String creditCode;

    /**
     *省id
     */
    @ApiModelProperty(value = "省id")
    private Integer provinceId;

    /**
     *市id
     */
    @ApiModelProperty(value = "市id")
    private Integer cityId;

    /**
     *地区id
     */
    @ApiModelProperty(value = "地区id")
    private Integer districtId;

    /**
     *详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String detailAddress;

    /**
     *法定代表人
     */
    @ApiModelProperty(value = "法定代表人")
    private String legalPerson;

    /**
     *营业期开始时间
     */
    @ApiModelProperty(value = "营业期开始时间")
    private Date businessStartTime;

    /**
     *营业期结束时间
     */
    @ApiModelProperty(value = "营业期结束时间")
    private Date businessEndTime;

    /**
     *商务经理
     */
    @ApiModelProperty(value = "商务经理")
    private Long businessUserId;
    /**
     *是否为一般纳税人 0:否 1:是
     */
    @ApiModelProperty(value = "是否为一般纳税人 0:否 1:是")
    private Integer isGeneralTax;

    /**
     *入驻日期
     */
    @ApiModelProperty(value = "入驻日期")
    private Date registerTime;

    /**
     *创建人UID
     */
    @ApiModelProperty(value = "创建人UID")
    private Long createUserId;

    /**
     *创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    /**
     *更新人UID
     */
    @ApiModelProperty(value = "更新人UID")
    private Long updateUserId;

    /**
     *创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     *更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;
}
